﻿using MonitorPrism_Practice.Model;
using MonitorPrism_Practice.Views;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MonitorPrism_Practice.ViewModel
{
    public class InterfacePropertiesViewModel : BindableBase
    {
        private IRegionManager _regionManager { get; }
        public InterfacePropertiesViewModel(IRegionManager regionManager)
        {
            _regionManager = regionManager;

        }

        private ObservableCollection<TabControlPropertiesModel> _item = new ObservableCollection<TabControlPropertiesModel>() {
            new TabControlPropertiesModel(){TabControlName = "设置",TabControlUser = new InterfaceWriteDataView()},
            new TabControlPropertiesModel(){TabControlName = "线条",TabControlUser = new InterfaceLineConfigView()}
            };

        public ObservableCollection<TabControlPropertiesModel> Item
        {
            get { return _item; }
            set
            {
                SetProperty(ref _item, value);
            }
        }

    }
}
